]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensions-app: Add flatpak manifest
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 1 Dec 2019 02:28:56 +0000 (03:28 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 27 Mar 2020 23:33:30 +0000 (23:33 +0000)
We finally have everything in place for distributing the Extensions app
as flatpak without jumping through too many hoops. Add a manifest that
can produce a nightly build like other GNOME modules, and can serve as
a template for a stable manifest on flathub.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1133

subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json [new file with mode: 0644]

diff --git a/subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json b/subprojects/extensions-app/build-aux/flatpak/org.gnome.Extensions.json
new file mode 100644 (file)
index 0000000..c51850f
--- /dev/null
@@ -0,0 +1,37 @@
+{
+  "app-id": "org.gnome.Extensions",
+  "runtime": "org.gnome.Platform",
+  "runtime-version": "master",
+  "sdk": "org.gnome.Sdk",
+  "command": "gnome-shell-extension-prefs",
+  "tags": ["nightly"],
+  "desktop-file-name-prefix": "(Nightly) ",
+  "finish-args": [
+    "--share=ipc", "--socket=fallback-x11",
+    "--socket=wayland",
+    "--talk-name=org.gnome.Shell.Extensions"
+  ],
+  "build-options": {
+      "cflags": "-O2 -g"
+  },
+  "modules": [
+    {
+      "name": "gnome-extensions-app",
+      "buildsystem": "meson",
+      "builddir": true,
+      "subdir": "subprojects/extensions-app",
+      "sources": [
+        {
+          "type": "git",
+          "url": "https://gitlab.gnome.org/GNOME/gnome-shell.git"
+        },
+        {
+          "type": "shell",
+          "commands": [
+              "subprojects/extensions-app/generate-translations.sh"
+          ]
+        }
+      ]
+    }
+  ]
+}